package com.shensi.adminCollect.domain.customer;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.shensi.adminCollect.common.annotation.Excel;
import com.shensi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 卡编号对象 ic_registe_info
 * 
 * @author qujia
 * @date 2021-11-13
 */
public class IcRegisteInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 生成卡号 */
    private String icCardno;

    /** 原始卡号 */
    @Excel(name = "原始卡号")
    private String icOldcardno;

    /** 卡联系方式 */
    @Excel(name = "卡联系方式")
    private String icContactsphone;

    /** 卡类型 */
    @Excel(name = "卡类型")
    private String cardType;

    /** 卡名称 */
    @Excel(name = "卡名称")
    private String icCardname;

    //来源，1现金，2pos3微信4支付
    @Excel(name = "支付类型")
    private String rechargeSource;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注销时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date cancellationdate;

    /** 注销原因 */
    @Excel(name = "卡联系人")
    private String icContacts;

    /** 卡联系人 */
    @Excel(name = "注销原因")
    private String cancellation;

    /** 默人密码(666666)，md5加密 */
    @Excel(name = "默人密码(666666)，md5加密")
    private String password;

    /** 余额 */
    @Excel(name = "余额")
    private BigDecimal amt;

    /** 余额 */
    @Excel(name = "充值总额")
    private BigDecimal totalrecharge;

    /** 0启用，1停用 */
    @Excel(name = "0启用，1停用")
    private Integer enable;

    private Integer rechargeType;

    /** 免密支付，1是0否 */
    @Excel(name = "免密支付，1是0否")
    private Integer issecret;


    private Long stationId;

    private String payType;


    private Long enterpriseId;


    private Long dzkId;


    public void setrechargeSource(String rechargeSource)
    {
        this.rechargeSource = rechargeSource;
    }

    public String getrechargeSource()
    {
        return rechargeSource;
    }

    public void setIcCardno(String icCardno) 
    {
        this.icCardno = icCardno;
    }

    public String getIcCardno() 
    {
        return icCardno;
    }
    public void setIcOldcardno(String icOldcardno) 
    {
        this.icOldcardno = icOldcardno;
    }

    public String getIcOldcardno() 
    {
        return icOldcardno;
    }
    public void setIcContactsphone(String icContactsphone) 
    {
        this.icContactsphone = icContactsphone;
    }

    public String getIcContactsphone() 
    {
        return icContactsphone;
    }

    public void setCancellation(String cancellation)
    {
        this.cancellation = cancellation;
    }

    public String getCancellation()
    {
        return cancellation;
    }

    public void setCardType(String cardType) 
    {
        this.cardType = cardType;
    }

    public String getCardType() 
    {
        return cardType;
    }
    public void setIcCardname(String icCardname) 
    {
        this.icCardname = icCardname;
    }

    public String getIcCardname() 
    {
        return icCardname;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }

    public void setCancellationdate(Date cancellationdate)
    {
        this.cancellationdate = cancellationdate;
    }

    public Date getCancellationdate()
    {
        return cancellationdate;
    }

    public void setIcContacts(String icContacts) 
    {
        this.icContacts = icContacts;
    }

    public String getIcContacts() 
    {
        return icContacts;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setTotalrecharge(BigDecimal totalrecharge)
    {
        this.totalrecharge = totalrecharge;
    }

    public BigDecimal getTotalrecharge()
    {
        return totalrecharge;
    }

    public void setAmt(BigDecimal amt)
    {
        this.amt = amt;
    }

    public BigDecimal getAmt()
    {
        return amt;
    }


    public void setEnable(Integer enable) 
    {
        this.enable = enable;
    }

    public Integer getEnable() 
    {
        return enable;
    }

    public void setrechargeType(Integer rechargeType)
    {
        this.rechargeType = rechargeType;
    }

    public Integer getrechargeType()
    {
        return rechargeType;
    }

    public void setIssecret(Integer issecret) 
    {
        this.issecret = issecret;
    }

    public Integer getIssecret()
    {
        return issecret;
    }

    public Long getStationId() {
        return stationId;
    }

    public void setStationId(Long stationId) {
        this.stationId = stationId;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public Long getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(Long enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public Long getDzkId() {
        return dzkId;
    }

    public void setDzkId(Long dzkId) {
        this.dzkId = dzkId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("icCardno", getIcCardno())
            .append("icOldcardno", getIcOldcardno())
            .append("icContactsphone", getIcContactsphone())
            .append("cardType", getCardType())
            .append("icCardname", getIcCardname())
            .append("createDate", getCreateDate())
            .append("icContacts", getIcContacts())
            .append("password", getPassword())
            .append("amt", getAmt())
            .append("totalrecharge", getTotalrecharge())
            .append("enable", getEnable())
            .append("issecret", getIssecret())
            .append("enterpriseId", getEnterpriseId())
            .append("stationId", getStationId())
            .append("dzkId", getDzkId())
            .toString();
    }
}
